package com.smedi.ismedi.notification.core.domain.repository;

import com.smedi.ismedi.notification.core.domain.aggregatemodel.MailTemplate;

/**
 * @className: MailTemplateRepository
 * @Description: TODO
 * @version: v1.0.0
 * @author: wzx
 * @date: 2022/11/23 13:44
 */


public interface MailTemplateRepository {

    MailTemplate selectByMailTemplateId(Long mailTemplateId);

    MailTemplate selectByMailTemplateName(String mailTemplateName);

    MailTemplate doInsert(MailTemplate data);

    MailTemplate doUpdate(MailTemplate data);

    void doDelete(Long mailTemplateId);


}